package hcn.cmc.bean.response;

import javax.xml.bind.annotation.*;
import java.util.List;

/**
 * @description:获取历史抗菌药物审核记录XML格式返参
 * @author: zhengcb10708
 * @create: 2020-12-17 11:06
 **/
@XmlRootElement(name = "Data")
public class HistoryAntibacterialApplyXMLResp {
    private List<HistoryAntibacterialApply> RequestLists;

    @XmlElementWrapper(name = "RequestLists")
    @XmlElement(name = "RequestList")
    public List<HistoryAntibacterialApply> getRequestLists() {
        return RequestLists;
    }

    public void setRequestLists(List<HistoryAntibacterialApply> requestLists) {
        RequestLists = requestLists;
    }
    @XmlAccessorType(XmlAccessType.FIELD)
    public static class HistoryAntibacterialApply {
        private String RecordId;
        private String Name; // 病人姓名
        private String SickbedId; // 床号
        private String MainDiagnoseName; // 主要诊断
        private String RequestDateTime; // 申请日期
        private String RequestCheckTime; // 审核日期
        private Integer Sex; // 性别
        private String ApplyStatus; // 审核状态 [0待审核、1同意、2不同意]
        private String RequestDoctor; // 申请医生
        private String RequestChecker; // 审核医生
        private String CheckReason; // 审核意见
        private String WardAreaName; // 病区
        private DrugLists DrugLists;//药品列表
        @XmlRootElement(name = "DrugList")
        @XmlAccessorType(XmlAccessType.FIELD)
        public static class DrugLists {
            private List<DrugXmlList> DrugXmlList;

            public List<DrugXmlList> getDrugXmlList() {
                return DrugXmlList;
            }
            public void setDrugXmlList(List<DrugXmlList> drugXmlList) {
                DrugXmlList = drugXmlList;
            }
        }
        public String getRecordId() {
            return RecordId;
        }

        public void setRecordId(String recordId) {
            RecordId = recordId;
        }

        public String getName() {
            return Name;
        }

        public void setName(String name) {
            Name = name;
        }

        public String getSickbedId() {
            return SickbedId;
        }

        public void setSickbedId(String sickbedId) {
            SickbedId = sickbedId;
        }
        public String getMainDiagnoseName() {
            return MainDiagnoseName;
        }

        public void setMainDiagnoseName(String mainDiagnoseName) {
            MainDiagnoseName = mainDiagnoseName;
        }

        public void setRequestDateTime(String requestDateTime) {
            RequestDateTime = requestDateTime;
        }
        public String getRequestCheckTime() {
            return RequestCheckTime;
        }

        public void setRequestCheckTime(String requestCheckTime) {
            RequestCheckTime = requestCheckTime;
        }
        public Integer getSex() {
            return Sex;
        }

        public void setSex(Integer sex) {
            Sex = sex;
        }
        public String getApplyStatus() {
            return ApplyStatus;
        }

        public void setApplyStatus(String applyStatus) {
            ApplyStatus = applyStatus;
        }
        public String getRequestDoctor() {
            return RequestDoctor;
        }

        public void setRequestDoctor(String requestDoctor) {
            RequestDoctor = requestDoctor;
        }
        public String getRequestChecker() {
            return RequestChecker;
        }

        public void setRequestChecker(String requestChecker) {
            RequestChecker = requestChecker;
        }
        public String getCheckReason() {
            return CheckReason;
        }

        public void setCheckReason(String checkReason) {
            CheckReason = checkReason;
        }
        public String getWardAreaName() {
            return WardAreaName;
        }

        public void setWardAreaName(String wardAreaName) {
            WardAreaName = wardAreaName;
        }

        public String getRequestDateTime() {
            return RequestDateTime;
        }

        public HistoryAntibacterialApply.DrugLists getDrugLists() {
            return DrugLists;
        }

        public void setDrugLists(HistoryAntibacterialApply.DrugLists drugLists) {
            DrugLists = drugLists;
        }
    }
}
